Update example.js

Fixed a bug where deleting the existing rows would stop a user from adding any more. This was just down to the `:last` selector. I changed it to use `$("#hiderow").before()` as this seemed a consistent element to target.