js Base app