test javascript files