Fixes JS file issue in big layout