Update erp.elm

Updated to compile with Elm 0.12 and above. Have not tested with a server.