Moved script execution to moleculesControl.js init_molecule. This is also the location to update the molecule UI from the script. - FIXED SOME BUGS.