moved index.html/.js into the public directory