Removed non-working jQuery code (due to security problems with adding classes to content that was loaded over http) and added css to inputs directly.