Adding jquery and spliting frontend