Sanitized NoApi.js

Added documentation, slimmed down functionality.