optimized frontend js compile streamline, fixed gitignore