Minimize JS code. Searching for min code possible.