reverted and added public/js