cleaned up small js formatting errors