js update - fixing ? issue in urls

js update - fixing issue with apps having ? in their urls