added new index
make a production and development index
added javascript stuff