Standardize how we import javascript.
Remove testing code for going to materials commons.
Replace multiple calls to strings.Replace with a function for turning
paths into an id.