move js to scripts
prevent upgrading and moving when placing