Add the root of javascript library

thanks to Michael Jasper for the nice example on his blog