refactor IsotopeProduct js, to language and framework standards,

additionally eval scripts

minified version to be done