Fixing up the metadata and javascript abit