Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz