Fix #274: fix use of r.js from .bin