use pycharm to edit js/html code; fix html escape bug