* Refactor prepublish script to use template file for icon objects ... to hopefully increase readability * Fix build and test issues * Add missing semi-colon * Explicitly check for errors when writing individual static .js files