Javascript modification in stream and ajax removal from competitions

please review