javascript code cleanup
javasript cleanup after pycharm inspect