Added preprocessing callback and scripts removal to ripper; Fixed float problems in FireFox