adding js 'support' for production mode