added js files
begin
main code