using local js again due to mimetype issues from gh raw