Fixed bug where global variables were not allowed to be saved w/.html extension