Initial js with resource and display update.