Moved all JS code to index.js indentations..