Minor changes to the readme and the main JavaScript file
Extra configuration flexibility plus security fix