starting to build the public JS