reconfigured app js