Common files for JS homework added
Problem 1 solved.
Problem 2 solved.