add examples for JS alerts and ensure gems are always loaded from the bundle
Added link to js alert page