js assignment

Final refining done
same as mentioned inside `showLoaderView`