break frontend js into multiple files