Updated javascript files
Updated api files