added support for dev mode js file build and prod mode js file build