Fixed addPara bug

When adding a para from the edit button, if adding past index 10 the
function would add after 9. This happened because we were using string
comparisons instead of ints. This resulted in 10 being less than 9.
Fixed by adding the parseInt function.