Authorization library for Javascript and NodeJS using permits and user abilities