For the record, in Unity I've never had to adjust scripts for web builds. Seems to be very straight-forward in that engine, might be worth looking into