Removed; all javascript moved into smartsnippet