Remove print statements from generate_javascript.py.
Remove unused import from generate_javascript.py.
Follow PEP8 guidelines in generate_javascript.py.
Merge pull request #1457 from Ms2ger/si-print

Fix issues with generate_javascript.py.