added usage instructions to readme and js header for isEnabled