Further bug fixes - auto loading JS by Yii rerouted

Signed-off-by: Marcin Wiatr <mail.wichura@gmail.com>