application js simplified