exec js added in gem for non dev mode