Add application js to index