Adding javascript library dependancies