New js file for index and tutorials fixed