Finished "JS APIs" Ex1