add method to get current script file's url
fix bug
add test page