JS library to minimise dependecies on frameworks