JavaScript: converted the feature to GeoJSON format; added feature.save() so you can alter features in JS; added the streetlights.earth demo to showcase.
Javascript: load scripts from the earth file with script::url
added external scripts, updated boston.earth with streetlights.