Moved JS build stuff, added some refs