JavaScript security library