Out with meta refresh, in with javascript refresh