move css from explorer.html.haml into javascript