add missing js for port rendering