moved custom javascript code to index.js file

2 jobs for master in 21 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #1608
pages-test

00:00:19

 
  Deploy
passed #1609
production
pages-master

00:00:02