new js files

three new javascirpt files