move included js to config