made new function files JS HTML

ran test passed