add javascript refresh