javascript Core file by jiman