fixed use of reserved keyword 'throws'
added minified version