Moving pre-release and post-release to .js files