Fixes ambient.js to be less multi-purpose, updates readme

@Frijol the change to ambient.js should be reflected in the FRE, feedback welcome :)