Bugfix - bad generating js code for automounting component