added jslex as a requirement
fixed RE in src_is_external()