move common js to skin dir