Some more code for js components