Add index and javascript files