simple javascript workout calculator optimized for mobile