new post and change js code to not run when in development