put script reference to js-parts.js in the head