Bug 1017490 - rewrite clock build script in javascrip

I found we can pass command line argument by an array so we don't need to load the object!