Split JS code into multiple files