Small change to embed controller js