rename beacon.js to waypoint.js (for firefox)