add a controller in the test app and run a mapping test agains that. remove mapping js from the gem pages as that isn't really where it is needed. add the js mapping code right in the mapping ruby method.