use slimit as javascript parser