put js code in code.js