moved init account js file