Update robotframework-rc.js

handle asserts
fix bug with id replacement - we should only replace "id=" on the beginning