Added public.js

Not sure how THE most important dependency wasn't added :s